package Demo;

public class Demo04 {
    private static Demo04 instance = null;
    private Demo04() {}
    public static Demo04 getInstance() {
        if (instance == null) {
            instance = new Demo04();
        }
        return instance;
    }
}
